package com.platform.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 抽奖配置实体
 * 表名 lottery_config
 *
 * @author liweihai
 * @email liweihai12345@sina.com
 * @date 2019-04-16 19:25:00
 */
public class LotteryConfigEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //编号
    private Integer id;
    //名称
    private String name;
    //消费数量
    private BigDecimal number;
    //类型1
    private Integer type;
    //优先级
    private Integer priority;
    //用户编号逗号分隔
    private String user;
    //中奖级别
    private Integer level;
    //中奖倍率
    private BigDecimal power;
    //
    private Date createDate;
    //0否1是
    private Integer isOpen;
    //图标
    private String logo;
    //跳转地址
    private String url;

    /**
     * 设置：编号
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取：编号
     */
    public Integer getId() {
        return id;
    }
    /**
     * 设置：名称
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取：名称
     */
    public String getName() {
        return name;
    }
    /**
     * 设置：消费数量
     */
    public void setNumber(BigDecimal number) {
        this.number = number;
    }

    /**
     * 获取：消费数量
     */
    public BigDecimal getNumber() {
        return number;
    }
    /**
     * 设置：类型1
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * 获取：类型1
     */
    public Integer getType() {
        return type;
    }
    /**
     * 设置：优先级
     */
    public void setPriority(Integer priority) {
        this.priority = priority;
    }

    /**
     * 获取：优先级
     */
    public Integer getPriority() {
        return priority;
    }
    /**
     * 设置：用户编号逗号分隔
     */
    public void setUser(String user) {
        this.user = user;
    }

    /**
     * 获取：用户编号逗号分隔
     */
    public String getUser() {
        return user;
    }
    /**
     * 设置：中奖级别
     */
    public void setLevel(Integer level) {
        this.level = level;
    }

    /**
     * 获取：中奖级别
     */
    public Integer getLevel() {
        return level;
    }

    public BigDecimal getPower() {
        return power;
    }

    public void setPower(BigDecimal power) {
        this.power = power;
    }

    /**
     * 设置：
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * 获取：
     */
    public Date getCreateDate() {
        return createDate;
    }
    /**
     * 设置：0否1是
     */
    public void setIsOpen(Integer isOpen) {
        this.isOpen = isOpen;
    }

    /**
     * 获取：0否1是
     */
    public Integer getIsOpen() {
        return isOpen;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
